package com.woniu108.carService.commos.exception.admin;

/**
 * @author 谭鹏
 */

public enum AdminExceptionCode {
    /**
     *
     */
    ADMIN_NOT_PERMISSION(20011,"权限不足"),
    ADMIN_ID_NULL(20012,"管理员id为null"),
    ADMIN_NOT_HAVE(20013,"管理员不存在"),
    STORE_ADMIN_ID_NULL(20020,"店家管理员id为null"),
    STORE_ADMIN_NOT_HAVE(20021,"店家管理员不存在"),
    STORE_ADMIN_STATE_ERROR(20021,"店家管理员状态错误");


    private Integer code;
    private String message;

    AdminExceptionCode() {
    }

    AdminExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
